/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.shooter;

import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.Sprite;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;

/**
 *
 * @author Unni Vemanchery Mana
 */
public class NavigationPanel {
    
    private final String rightSprite = "rightarrow.png";
    private Texture rightArrow ;
    private Texture leftArrow ;

    private Sprite sprite;
    
    public void initialize(){
        Texture.setEnforcePotImages(false);
        rightArrow = new Texture(Gdx.files.internal(rightSprite));
        sprite     = new Sprite(rightArrow);
        sprite.setSize(24.0f, 24.0f);
        //sprite.scale(0.15f);
    }
    public void drawNavigationPanel(SpriteBatch batch){
        sprite.setPosition(10.0f, 10.0f);
        sprite.draw(batch);
    }
}
